package com.example.Holo.uiactivities.fragments.expensefragment;

import com.example.Holo.rework.core.Friend;

public class FriendsPayment {

    public final Friend friend;
    private int piecesCount;
    private double quantity;
    private boolean isEnteredByHand;

    public FriendsPayment(Friend friend) {
        this.friend = friend;
    }

    @Override
    public String toString() {
        return friend.name;
    }

    public int getPiecesCount() {
        return piecesCount;
    }

    public void setPiecesCount(int piecesCount) {
        this.piecesCount = piecesCount;
    }

    public double getQuantity() {
        return quantity;
    }

    public void setQuantity(double quantity) {
        this.quantity = quantity;
    }

    public boolean isEnteredByHand() {
        return isEnteredByHand;
    }

    public void setEnteredByHand(boolean enteredByHand) {
        isEnteredByHand = enteredByHand;
    }
}
